﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DistrictAdmin.aspx.cs" Inherits="HealthSystem.DistrictAdmin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="panle1" />
    <ext:Panel  runat="server" ID="panle1" Title="区县镇管理员" Layout="Fit">
         <Toolbars>
        <ext:Toolbar ID="Toolbar1" runat="server">
            <Items>
                <ext:Label ID="Label1" Text="区管理员查询:" runat="server"></ext:Label>
                <ext:TriggerBox runat="server" Enabled="false" ID="searchbox" OnTriggerClick="SearchClick" TriggerIcon="Search" EnablePostBack="true" EmptyText="模糊输入区名或用户名" Width="200px"></ext:TriggerBox>
                <ext:HiddenField runat="server" ID="actionbt"></ext:HiddenField>
            </Items>
        </ext:Toolbar>
    </Toolbars>
        <Items>
            <ext:Grid runat="server" ID="Gird1" EnableTextSelection="true" ShowHeader="false" DataKeyNames="ParentDistrictCode,DistrictCode,XX_UserName"
            OnRowCommand="Grid1_RowCommand" OnPageIndexChange="PageIndex_Changed">
                <Columns>
                    <ext:BoundField DataField="XX_UserName" HeaderText="账户" />
                    <ext:BoundField DataField="name" HeaderText="区" />
                    <ext:BoundField DataField="Address" HeaderText="单位地址" />
                    <%--<ext:BoundField DataField="hW_Admin_Detail.ZipCode" HeaderText="邮编" />--%>
                    <ext:BoundField DataField="CNName" HeaderText="联络员" />
                    <ext:BoundField DataField="OfficePhone" HeaderText="联系电话" />
                    <ext:BoundField DataField="MobilePhone" HeaderText="移动电话" />
                    <ext:BoundField DataField="Email" HeaderText="电子邮箱" />
                 <%--   <ext:LinkButtonField HeaderText="重置密码" TextAlign="Center" ConfirmText="你确定要重置密码？" ConfirmTarget="Top"
                ColumnID="lbfAction2" Width="70px" CommandName="reset" Text="重置密码" />
                   <ext:WindowField ColumnID="myWindowField" Width="40px" WindowID="Window1" HeaderText="修改学校"
                Icon="Pencil" ToolTip="编辑" DataTextFormatString="{0}" DataIFrameUrlFields="XX_UserName"
                DataIFrameUrlFormatString="districtadmin_Edit.aspx?id={0}" DataWindowTitleField="XX_UserName"
                DataWindowTitleFormatString="编辑 - {0}"  />--%>
                </Columns>
            </ext:Grid>
        </Items>
    </ext:Panel>
     <ext:Window ID="Window1" CloseAction="HidePostBack" runat="server" IsModal="true" Hidden="true" Target="Self"
        EnableResize="true" EnableMaximize="true" EnableIFrame="true" IFrameUrl="about:blank"
        Width="650px" Height="450px" OnClose="Window1_Close">
    </ext:Window>
    </form>
</body>
</html>
